package com.bwie.realtime.jtp.gd_jk.service;


import com.bwie.realtime.jtp.gd_jk.bean.Add_cart;
import com.bwie.realtime.jtp.gd_jk.bean.Device_type;
import com.bwie.realtime.jtp.gd_jk.bean.Order;

import com.bwie.realtime.jtp.gd_jk.bean.View_sum;
import com.bwie.realtime.jtp.gd_jk.mapper.SuagrMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SugarServiceImpl implements SugarService {
    @Autowired
    SuagrMapper suagrMapper;

    @Override
    public List<Order> getSpeedInfo() {
        return suagrMapper.getSpeedInfo();
    }

    @Override
    public List<Add_cart> getStockInfo() {
        return suagrMapper.getStockInfo();
    }

    @Override
    public List<View_sum> getVisitorInfo() {
        return suagrMapper.getVisitorInfo();
    }

    @Override
    public List<Device_type> getDeviceType() {
        return  suagrMapper.getDeviceType();
    }


}
